﻿@{
    Layout = null;
}
<!DOCTYPE html>

<html>
<head>
    <title>条件公式生成</title>
    <style>
    
        body{ margin:0; padding:0; font-family:Arial 宋体; font-size:12px; overflow:hidden;}
       #form{ position:relative; left:5px;}
textarea{border:1px solid #aecaf0;}
input{padding:0;border:#a3c0e8 1px solid; background:#e2f0ff url(/EnterpriseFund/DXR.axd?r=0_54) repeat-x 50% top;color:#2c4d79; cursor:pointer; }
input:hover{background-image:url(/EnterpriseFund/DXR.axd?r=0_57)}
#formula {
    position:absolute;
    left:30px;
    top:20px;
    width:440px;
    height:140px;
}     
#expression {
    position:absolute;
    left:30px;
    top:420px;
    width:440px;
    height:140px; display:none;
}

#u1 {
    position:absolute;
    left:30px;
    top:170px;
    width:150px;
    height:130px;border:1px solid #aecaf0;
}

#u2 {
    position:absolute;
    left:190px;
    top:170px;
    width:40px;
    height:25px;
}

#u3 {
    position:absolute;
    left:400px;
    top:170px;
    width:70px;
    height:25px;
}

#u4 {
    position:absolute;
    left:400px;
    top:205px;
    width:70px;
    height:25px;
}

#u5 {
    position:absolute;
    left:190px;
    top:205px;
    width:40px;
    height:25px;
}

#u6 {
    position:absolute;
    left:190px;
    top:240px;
    width:40px;
    height:25px;
}

#u7 {
    position:absolute;
    left:190px;
    top:275px;
    width:40px;
    height:25px;
}

#u8 {
    position:absolute;
    left:240px;
    top:170px;
    width:40px;
    height:25px;
}

#u9 {
    position:absolute;
    left:240px;
    top:205px;
    width:40px;
    height:25px;
}

#u10 {
    position:absolute;
    left:240px;
    top:240px;
    width:40px;
    height:25px;
}

#u11 {
    position:absolute;
    left:240px;
    top:275px;
    width:40px;
    height:25px;
}

#u12 {
    position:absolute;
    left:290px;
    top:170px;
    width:40px;
    height:25px;
}

#u13 {
    position:absolute;
    left:290px;
    top:205px;
    width:40px;
    height:25px;
}

#u14 {
    position:absolute;
    left:290px;
    top:240px;
    width:40px;
    height:25px;
}

#u15 {
    position:absolute;
    left:340px;
    top:170px;
    width:40px;
    height:25px;
}

#u16 {
    position:absolute;
    left:340px;
    top:205px;
    width:40px;
    height:25px;
}

#u17 {
    position:absolute;
    left:340px;
    top:240px;
    width:40px;
    height:25px;
}


#u18 {
    position:absolute;
    left:290px;
    top:275px;
    width:40px;
    height:25px;
}

#u20 {
    position:absolute;
    left:400px;
    top:240px;
    width:70px;
    height:25px;
     
    color:#990000;
}

#u21 {
    position:absolute;
    left:340px;
    top:275px;
    width:40px;
    height:25px;
}
#u22 {
    position:absolute;
    left:400px;
    top:275px;
    width:70px;
    height:25px;    
    color:#009900;
}
    </style>
</head>
<body>
    <div id="form">
    
<textarea id="formula"></textarea>

<select id="u1" multiple="multiple" >
@foreach (var t in ViewBag.TaxClassAllowance)
{
    <option  value="[@t.FTaxClassAllowanceNo]"> @t.FTaxClassAllowanceName </option>
}
</select>

<input id=u2 type="button"  value=" + "  >

<input id=u3 type="button"  value=" 并且 "  >

<input id=u4 type="button"  value=" 或者 "  >

<input id=u5 type="button"  value=" &gt; "  >

<input id=u6 type="button"  value=" &lt; "  >

<input id=u7 type="button"  value=" = "  >

<input id=u8 type="button"  value="1"  >

<input id=u9 type="button"  value="4"  >

<input id=u10 type="button"  value="7"  >

<input id=u11 type="button"  value="0"  >

<input id=u12 type="button"  value="2"  >

<input id=u13 type="button"  value="5"  >

<input id=u14 type="button"  value="8"  >

<input id=u15 type="button"  value="3"  >

<input id=u16 type="button"  value="6"  >

<input id=u17 type="button"  value="9"  >

<input id=u18 type="button"  value="000"  >

<input id="u20" type="button"  value="取消"  >

<input id="u21" type="button"  value="清空"  >

<input id="u22" type="button"  value="确定"  >

<textarea id="expression" ></textarea>

    </div>
</body>
</html>
<script src="@Url.Content("~/Common/GetRootPath.ashx", true)" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.min.js", true)" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/ruleformula.js",true)" type="text/javascript"></script>
